package com.zlq.cn.dto.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class MovieRegisterParam {

    @ApiModelProperty(value = "手机号码", required = true)
    @NotNull(message = "手机号码不能为空")
    private String phone;

    @ApiModelProperty(value = "验证码", required = true)
    @NotNull(message = "验证码不能为空")
    private String vcode;

    @ApiModelProperty(value = "密码;简单md5一下", required = true)
    @NotNull(message = "密码不能为空")
    private String password;
}
